<?php include 'page.header.inc'; ?>

<div id="container" class="clear-block">
	<div class="wrap clearfix">
  	<div id="content">
  		<?php //print $breadcrumb; ?>
			<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
      <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
      <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
      <?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
      <?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
      <?php if ($show_messages && $messages): print $messages; endif; ?>
      <?php print $help; ?>
      <div class="clear-block">
        <?php print $content ?>
      </div>
    </div>
		<?php if ($sidebar): ?>
      <div id="sidebar" class="sidebar">
        <?php print $sidebar ?>
      </div>
    <?php endif; ?>
  </div>
</div> <!-- /container -->
<?php include 'page.footer.inc'; ?>